<div class="notification text-center">Đã thêm vào giỏ hàng</div>
<div class="logo left">
   <a href="<?php echo Yii::app()->request->hostInfo?>" class="logo_h logo_h__img">
      <img src="<?php echo Yii::app()->request->baseUrl?>/images/logo.png" alt="Book King" title="the biggest choice on the web">
   </a>
   <p class="logo_tagline">Sự lựa chọn tốt nhất trên internet</p> 
</div>
<div class="right">
   <div class="shop-nav">
      <ul id="shopnav" class="shop-menu">
         <?php 
         $use_id = Yii::app()->session['user_id'];
         if(is_null($use_id)){?>
            <li>
               <a href="/site/register" class="register-link" title="Registration">Đăng ký</a>
            </li>
            <li>
               <a href="/site/login" class="register-link" title="Registration">Đăng nhập</a>
            </li>
         <?php }else{
            
            $use_info = Member::model()->findByPk($use_id);
            ?>
            <li>
               <a href="#" class="" title=""><?php echo ucwords(strtolower($use_info->MemberName))?></a>
            </li>
            <li>
               <a href="/site/logout" class="register-link" title="Registration">Đăng xuất</a>
            </li>
         <?php }?>
         
      </ul>
   </div> 
   <div id="shopping-cart" class="cart-holder relative">
   <a href="/buy/cart">
      <i class="sprite icon-cart absolute"></i>
      <h3>Giỏ hàng</h3>
   </a>   
   </div> 
</div>